package com.wlc.oop.demo02;

/**
 * @author 王立朝 wanglichao@champion-credit.com
 * @description 人类
 * @date 2021-06-25 20:15
 */
public class Person {
    /***
     * 修饰符
     *      public
     *      protected
     *      default
     *     private
     */
    private int money;

    public void say() {
        System.out.println("人都会说话");
    }

    public int getMoney() {
        return money;
    }

    public void setMoney(int money) {
        this.money = money;
    }
}
